package com.veepeak.server.api.web.vo;

import com.google.common.collect.Lists;
import com.veepeak.server.common.BaseDTO;
import com.veepeak.server.domain.Vehicle;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.List;

@Data
@ToString
@EqualsAndHashCode
public class UserVO extends BaseDTO {
    private String email;
    private String password;
    private boolean isEmailValidated; //邮箱是否验证
    private String emailValidateCode;
    private String emailValidateCodeTime;
    private String nickname;
    private String avatar;

    private int obdCount;
    private int vehicleCount;

    List<ObdVO> obds = Lists.newArrayList();
    List<Vehicle> vehicles = Lists.newArrayList();
}
